package com.gongj.factoryMethod;

public class AFactory {

	private static A a;

	public static A getInstance(String name){
		return new A(name);
	}


	public A getInstanceMethod(String name){
			return new A(name);
	}
}
